package com.weipai.demo.enums;

public enum RetCode {

    SUCCESS("200", "成功"),

    SYSTEMBUSY("500", "系统繁忙,请稍后!"),

    ERRORCODE("500", "验证码错误"),

    DELHOUSE("401", "请先删除套房信息"),


    PUSHSUCCESS("200", "申请提交成功,请耐心等待,工作人员会在三个工作日之内联系您!"),

    APPLYFORSUCCESS("200", "提交成功,请等待核实,核实成功后工作人员会在三个工作日联系您"),

    SAVESUCCESS("200", "添加成功"),
    SAVEERROR("500", "申请失败"),

    UPDATESUCCESS("200", "修改成功"),

    STATUS_NULL("401", "请选择要操作的内容!"),

    GOTO_PAY("300", "您还没有支付，请先完成付款!"),

    UPDATEERROR("401", "修改失败"),

    ID_NULL("401", "请选中要删除的内容"),

    REPETITION("401", "您已经提交过申请啦,请勿重复添加!"),

    SMS_CODE_SEND_ERROR("503", "验证码发送失败"),

    SMS_CODE_EXPIRE("505", "验证码过期"),

    SMS_CODE_VERIFY_FAIL("504", "验证码验证失败"),

    REQUEST_ERROR("500", "请求失败"),

    THESAME("401", "有两个相同的汽车,请删除其中一个"),

    IDENTICAL("401", "请勿重复添加"),

    IDENTICAL_VEHICLEMODEL("401", "请勿重复添加相同的汽车分类"),

    SMS_CODE_PUT("505", "请输入验证码"),

    COLD_phone("401", "此手机号已注册，请直接登录"),

    NOT_LOGIN("-1", "请先登录"),
    LOGIN_FAIL("-2", "登录失败"),

    PWD_ERROR("-3", "密码错误"),
    NO_PAY("-4", "您还没有付款"),
    COLD_ALL("401", "请输入完整的个人信息"),
    PASSWORD_NOT_SAME("500", "密码不一致，请重新输入"),
    RESOURCES_ADD_FAIL("500", "操作失败"),

    IMG_FORMAT("501", "上传图片格式暂不支持"),
    IMG_SIZE("502", "上传的文件不能超过5M"),
    IMG_ERROR("500", "服务器错误,上传图片失败"),
    NO_DATA("401", "暂无数据"),
    D_RESULT_FAIL_NAMEVAR("1111", "此用户名已注册，请直接登录"),
    DELETE_CHILDREN("500", "请先删除子分类"),
    PAY_FAILD("500", "支付失败"),

    DELETE_CONTENT("500", "请先删除分类下的信息");


    private String code;
    private String msg;

    RetCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
